/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Es.Model
{

    /// <summary>
    ///  constraintsConf
    /// </summary>
    public class ConstraintsConf
    {

        ///<summary>
        /// 磁盘类型，zbs表示SSD云硬盘， local_ssd表示本地SSD盘
        ///</summary>
        public string StorageType{ get; set; }
        ///<summary>
        /// 是否在售
        ///</summary>
        public bool OnSale{ get; set; }
        ///<summary>
        /// 规格代码，规格代码详情参见：https://docs.jdcloud.com/cn/jcs-for-elasticsearch/specifications
        ///</summary>
        public List<string> ClassCode{ get; set; }
        ///<summary>
        /// 节点数最小值
        ///</summary>
        public int? MinCount{ get; set; }
        ///<summary>
        /// 节点数最大值
        ///</summary>
        public int? MaxCount{ get; set; }
        ///<summary>
        /// 节点数默认值
        ///</summary>
        public int? DefaultCount{ get; set; }
        ///<summary>
        /// 节点数步长
        ///</summary>
        public int? StepCount{ get; set; }
        ///<summary>
        /// 是否包含存储
        ///</summary>
        public bool StorageScale{ get; set; }
        ///<summary>
        /// 存储最小值
        ///</summary>
        public int? MinStorageGB{ get; set; }
        ///<summary>
        /// 存储最大值
        ///</summary>
        public int? MaxStorageGB{ get; set; }
        ///<summary>
        /// 存储默认值
        ///</summary>
        public int? DefaultStorageGB{ get; set; }
        ///<summary>
        /// 存储步长
        ///</summary>
        public int? StepStorageGB{ get; set; }
    }
}
